|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectga.core.goperators.ProbabilityOp
furny.ga.operators.SegmentCutCrossoverOp
public class SegmentCutCrossoverOp
Crossover operator that does the segment cut crossover. The function is explained in the master thesis of Stephan Dreyer.
| Constructor Summary | |
|---|---|
SegmentCutCrossoverOp(int pCrossOver)
Creates the operator with a given crossover probability. |
|
| Method Summary | |
|---|---|
IndividualList<FurnLayoutIndividual> |
crossover(FurnLayoutIndividual individual1,
FurnLayoutIndividual individual2,
GAContext context)
Performs a crossover (if probability met) of the given individuals and returns a list of the results. |
static void |
main(java.lang.String[] args)
Main method for testing. |
| Methods inherited from class ga.core.goperators.ProbabilityOp |
|---|
doOperate, doOperate, getRandom |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SegmentCutCrossoverOp(int pCrossOver)
pCrossOver - Crossover probability.| Method Detail |
|---|
public IndividualList<FurnLayoutIndividual> crossover(FurnLayoutIndividual individual1,
FurnLayoutIndividual individual2,
GAContext context)
ICrossoverOp
crossover in interface ICrossoverOp<FurnLayoutIndividual>individual1 - First individualindividual2 - Second individualcontext - The GA context.
public static void main(java.lang.String[] args)
args - No arguments required.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||